package com.shemy.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.shemy.entity.SysRole;

public interface SysRoleMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(SysRole record);

    List<SysRole> findAllByUserId(@Param("userId")Integer userId);

    int updateByPrimaryKey(SysRole record);
}